package com.applet.service;

import com.applet.pojo.dto.ActivityStatusDTO;
import com.applet.pojo.dto.PublishActivityDTO;
import com.applet.pojo.entity.Activity;
import com.applet.pojo.vo.ActivityDetailsVO;
import com.applet.pojo.vo.ActivityItemVO;
import com.applet.pojo.dto.UpdateActivityDTO;
import com.applet.pojo.vo.SignActivityDetailVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author “XuShao”
 * @date 2024/12/15 17:43
 * @description
 */
public interface ActivityService extends IService<Activity> {

    ActivityDetailsVO selectActivityDetails(String id);

    void addActivity(PublishActivityDTO publishActivityDTO);

    List<ActivityItemVO> getAllActivity();

    void updateActivity(UpdateActivityDTO updateActivityDTO);

    List<ActivityItemVO> getUserPublishActivity();

    SignActivityDetailVo getActDetail(String id);

    void updateStatusById(String id, ActivityStatusDTO statusDTO);

    List<ActivityItemVO> registeredActivities(String currentUserId);

    List<ActivityItemVO> collectedActivities(String currentUserId);
}
